package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 审批流程表实体类
 *
 * @author zcc
 * @since 2021-12-07
 */
@Data
@TableName("blade_business_approve")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BusinessApprove对象", description = "审批流程表")
public class BusinessApprove extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 名称
	*/
	@ApiModelProperty(value = "名称")
	private String name;
	/**
	* 申请类型  0-资料更改，1-补卡申请，2-请假申请，3-调休申请，4-转单申请，5-配件申请
	*/
	@ApiModelProperty(value = "申请类型  0-资料更改，1-补卡申请，2-请假申请，3-调休申请，4-转单申请，5-配件申请，6-报障审批")
	private Integer type;
	/**
	* 提交人id
	*/
	@ApiModelProperty(value = "提交人id")
	private Long submitId;

	@ApiModelProperty(value = "提交人名称")
	private String submitName;

	/**
	* 审批人id
	*/
	@ApiModelProperty(value = "审批人id(多个逗号隔开)")
	private String approveIds;

	@ApiModelProperty(value = "审批人名称")
	private String approveName;

	/**
	* 业务表id(对应blade_business_work表)
	*/
	@ApiModelProperty(value = "业务表id(对应blade_business_work表)")
	private Long businessWorkId;
	/**
	* 对应工单id
	*/
	@ApiModelProperty(value = "对应工单id")
	private Long workOrderId;
	/**
	* 手机号码
	*/
	@ApiModelProperty(value = "手机号码")
	private String phone;
	/**
	* 备注
	*/
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	* 审批状态：1-待审批，2-通过，3-驳回, 4-撤回,5-退回
	*/
	@ApiModelProperty(value = "审批状态：1-待审批，2-通过，3-驳回, 4-撤回,5-退回")
	private Integer approveStatus;

	@ApiModelProperty(value = "更新备注人员id")
	private Long remarkUpdateUser;

}
